<script setup lang="ts">
import {useHead} from '@vueuse/head'
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
import {ref} from "vue";
dayjs.locale('zh-cn');

const locale = ref(zhCN);
// https://github.com/vueuse/head
// you can use this to manipulate the document head in any components,
// they will be rendered correctly in the html results with vite-ssg
useHead({
  title: '上传表单',
  meta: [
    {name: 'description', content: 'vue3-tailwind3-website-starter'},
  ],
})
</script>

<template>
  <a-config-provider :locale="locale">
    <router-view/>
  </a-config-provider>
</template>
